package com.education.model.dto;

import lombok.Builder;
import lombok.Data;
import java.util.List;

@Data
@Builder
public class EmailMessage {
    private String email;
    private String subject;
    private String content;
    private boolean isHtml;
    private List<Attachment> attachments;

    @Data
    @Builder
    public static class Attachment {
        private String filename;
        private byte[] data;
    }
}
